package md.mru.core.dtos;

import java.util.Date;

public class TreeFolderDto {

    private TreeFolderIdDto id;
    private Date validFrom;
    private Date validTo;
    private boolean base;
    private boolean active;

    public TreeFolderIdDto getId() {
        if (id == null) {
            this.id = new TreeFolderIdDto();
        }
        return id;
    }

    public void setId(TreeFolderIdDto id) {
        this.id = id;
    }

    public Date getValidFrom() {
        return validFrom;
    }

    public void setValidFrom(Date validFrom) {
        this.validFrom = validFrom;
    }

    public Date getValidTo() {
        return validTo;
    }

    public void setValidTo(Date validTo) {
        this.validTo = validTo;
    }

    public boolean isBase() {
        return base;
    }

    public void setBase(boolean base) {
        this.base = base;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }
}


